//index.js
//获取应用实例
const app = getApp()
Page({
  data: {
    indicatorDots: true, //是否显示面板指示点
    autoplay: true, //是否自动切换
    interval: 5000, //自动切换时间间隔,5s
    duration: 1000, //  滑动动画时长1s
    circular: true,
    imgheights: [],
    current: 0,
    imgwidth: 750,
    // banner  商品轮播图
    imgUrls: [
      "https://res.lancome.com.cn/resources/2020/9/17/1600351443338258_900X900.jpg?version=20200917220352530",
      "https://res.lancome.com.cn/resources/2020/9/17/16003514506527123_920X920.jpg?version=20200917220352530",
      "https://res.lancome.com.cn/resources/2020/9/11/15998112890781924_920X920.jpg?version=20200917220352530",
      "https://res.lancome.com.cn/resources/2020/9/11/15998112853224645_920X920.jpg?version=20200917220352530",
      "https://res.lancome.com.cn/resources/2020/7/1/15935898796953944_920X920.jpg?version=20200917220352530"
    ],

    imgRecommend:"/images/ic_recommend_2.png",
    newgoods: [
      {
        "hg_pic": "http://img14.yiguoimg.com/e/ad/2016/160914/585749449477366062_260x320.jpg"
      }, {
        "hg_pic": "http://img09.yiguoimg.com/e/ad/2016/161011/585749449909281099_260x320.jpg"
      }, {
        "hg_pic": "http://img12.yiguoimg.com/e/ad/2016/160914/585749449480249646_260x320.jpg"
      }
    ],
  },

  hotgoods: [{
    "more_pic": "http://img13.yiguoimg.com/e/albums/2017/170630/153403897791357662_800x468.jpg"
  }, {
    "more_pic": "http://img14.yiguoimg.com/e/albums/2017/170629/153403897729786589_800x468.jpg",
  }, {
    "more_pic": " http://img12.yiguoimg.com/e/albums/2017/170626/153403897618375386_596x379.jpg",
  }, {
    "more_pic": " http://img12.yiguoimg.com/e/albums/2017/170621/153403897468003029_800x468.jpg",
  }
  ],
})
